package com.clqteam.serviceimpl;

import java.util.List;

import com.clqteam.dao.SelectVIPLXGDao;
import com.clqteam.daoimpl.SelectVIPLXGDaoImpl;
import com.clqteam.model.VIP;
import com.clqteam.service.SelectVIPLXGService;

import net.sf.json.JSONObject;

public class SelectVIPLXGServiceImpl implements SelectVIPLXGService{
	SelectVIPLXGDao svd=new SelectVIPLXGDaoImpl();

	@Override
	public JSONObject selectVip(String key, int key1, int page, int rows) {
		JSONObject jo=new JSONObject();
		jo.put("total", svd.countVIp(key, key1));
		jo.put("rows", svd.selectVIP(key, key1, page, rows));
		return jo;
	}
	

}
